package com.hyzx.qbasic.admin.domain.dao;

import com.hyzx.qbasic.admin.model.po.SysParamPO;
import com.hyzx.qbasic.admin.model.dto.KeyValuePair;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysParamMapper {
    int deleteParam(List<Integer> pIdList);

    int addParam(SysParamPO record);

    SysParamPO getParamInfo(@Param("pId") Integer pId);

    List<SysParamPO> getPagedParamList(@Param("pType") String pType);

    int editParam(SysParamPO record);

    List<KeyValuePair> getParamListByType(@Param("pType") String pType);
}